// // ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ» // Ί This file is generated by The Interactive Disassembler (IDA) Ί // Ί Copyright (c) 1998 by DataRescue sa/nv, Ί // ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ // // // This file should be used in the following way: // - reload executable into IDA with using switch -c // - press F2 and enter name of this file. // // NOTE: This file doesn't contain all information from the datbase. // #include static main(void) { GenInfo(); // various settings Segments(); // segmentation Enums(); // enumerations Structures(); // structure types Bytes(); // individual bytes (code,data) Functions(); // function definitions SegRegs(); // segment register values } //------------------------------------------------------------------------ // General information static GenInfo(void) { DeleteAll(); // purge database SetPrcsr("M6502"); StringStp(0xA); Tabs(1); Comments(0); Voids(0); XrefShow(2); AutoShow(1); Indent(16); CmtIndent(40); LowVoids(0x20); HighVoids(0x10000); TailDepth(0x10); } //------------------------------------------------------------------------ // Information about segmentation static Segments(void) { ; SegCreate(0xfc00,0x10000,0,0,1,2); SegRename(0xfc00,"seg000"); SegClass (0xfc00,""); SegDefReg(0xFC00,"es",0x0201); SegDefReg(0xFC00,"ds",0x0000); SegDefReg(0xFC00,"ss",0x0201); SegDefReg(0xFC00,"fs",0x0201); SegDefReg(0xFC00,"gs",0x0201); } //------------------------------------------------------------------------ // Information about enum types static Enums(void) { auto id; // enum id auto cid; // const id } //------------------------------------------------------------------------ // Information about structure types static Structures(void) { auto id; } //------------------------------------------------------------------------ // Information about bytes static Bytes_0(void) { auto x; ExtLinA(0xfc00,0,"; File Name : D:\\Game Tech\\Test Equipment\\Fluke\\6800.pod\\540344r1.1.6502"); ExtLinA(0xfc00,1,"; Format : Binary File"); ExtLinA(0xfc00,2,"; Base Address: 0000h Range: FC00h - 10000h Loaded length: 0400h"); MakeCode(0xfc23); MakeCode(0xfc36); MakeCode(0xfc40); MakeCode(0xfc4a); MakeCode(0xfc6b); MakeCode(0xfccf); MakeCode(0xfcf8); MakeCode(0xfd18); MakeCode(0xfd43); MakeCode(0xfd71); MakeCode(0xfd94); MakeCode(0xfdc7); MakeCode(0xfde7); MakeCode(0xfe0c); MakeCode(0xfe1c); MakeCode(0xfe22); MakeCode(0xfe25); MakeCode(0xfe2d); MakeCode(0xfe33); MakeCode(0xfe36); MakeCode(0xfe39); MakeCode(0xfe3f); MakeCode(0xfe45); MakeCode(0xfe6f); MakeCode(0xfe7a); MakeCode(0xfe80); MakeCode(0xfe9e); MakeCode(0xfed3); MakeCode(0xfee9); MakeCode(0xfef2); MakeCode(0xfef9); MakeCode(0xff06); MakeCode(0xff0c); MakeCode(0xff0f); MakeCode(0xff1f); MakeCode(0xff3b); MakeCode(0xff41); MakeCode(0xff4b); MakeCode(0xff51); MakeCode(0xff57); MakeCode(0xff5d); MakeCode(0xff96); MakeCode(0xffc9); MakeCode(0xffcf); MakeCode(0xffe1); MakeByte(0xffff); } //------------------------------------------------------------------------ // Information about functions static Functions(void) { MakeFunction (0xfc23,0xfc36); SetFunctionFlags(0xfc23,0); MakeFunction (0xfc36,0xfc40); SetFunctionFlags(0xfc36,0); MakeFunction (0xfc40,0xfc4a); SetFunctionFlags(0xfc40,0); MakeFunction (0xfc4a,0xfc6b); SetFunctionFlags(0xfc4a,0); MakeFunction (0xfc6b,0xfccf); SetFunctionFlags(0xfc6b,0); MakeFunction (0xfccf,0xfcf8); SetFunctionFlags(0xfccf,0); MakeFunction (0xfcf8,0xfd18); SetFunctionFlags(0xfcf8,0); MakeFunction (0xfd18,0xfd43); SetFunctionFlags(0xfd18,0); MakeFunction (0xfd43,0xfd71); SetFunctionFlags(0xfd43,0); MakeFunction (0xfd71,0xfd94); SetFunctionFlags(0xfd71,0); } //------------------------------------------------------------------------ // Information about segment registers static SegRegs(void) { } //------------------------------------------------------------------------ // Call all byte feature functions: static Bytes(void) { Bytes_0(); } // End of file.